package com.iespring.bean.admin.sys.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
/**
 * admin po
 * @param null
 * @return
 * @author 杨宇健
 * @since 2022/12/28 23:49
 */

@Data
public class SysAdminPo {
    private Integer id;
    private String username;
    private String password;
    private String lastLoginIp;
    private Date lastLoginTime;
    private String avatar;
    @DateTimeFormat(pattern = "yy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss")
    private Date addTime;
    @DateTimeFormat(pattern = "yy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss")
    private Date updateTime;
    private boolean deleted;
    private Integer[] roleIds;

}
